//
//  QQIndividualityView.m
//  tableview的练习
//
//  Created by 何典钊 on 2016/12/10.
//  Copyright © 2016年 hedianzhao. All rights reserved.
//

#import "QQIndividualityView.h"
#import "Masonry.h"
@implementation QQIndividualityView

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        [self setupUI];
    }
    return self;
}

- (void)setupUI
{
    UIImageView *img = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"10"]];
    [self addSubview:img];
    [img mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(50, 50));
        make.top.equalTo(self).offset(-25);
        make.centerX.equalTo(self);
    }];
    img.layer.cornerRadius = 25;
    img.layer.masksToBounds = YES;
    
    
}


- (void)setAccessibilityElementsHidden:(BOOL)accessibilityElementsHidden
{

}

@end
